package com.yjf.wxapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yjf.wxapi.entity.SysQuestion;
import org.apache.ibatis.annotations.Param;

/**
 * @author 小孟
 */
public interface SysQuestionMapper extends BaseMapper<SysQuestion> {
    //获取首页列表
    IPage<SysQuestion> getList(IPage<SysQuestion> page);
    //查询我的问卷列表
    IPage<SysQuestion> getMyQuestionList(IPage<SysQuestion> page,
                                         @Param("openid") String openid);
}
